package com.yoki.cloud.common.code.db.property;

import lombok.Data;

import java.util.List;

/**
 * Created by SKY on 2017/6/26.
 */
@Data
public class DBTableProperty {

    /**
     * table catalog (may be null)
     */
    private String tableCat;
    /**
     * table schema (may be null)
     */
    private String tableSchema;
    /**
     * table name
     */
    private String tableName;
    /**
     * table type. <br>
     * Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
     */
    private String tableType;
    /**
     * explanatory comment on the table
     */
    private String remarks;
    /**
     * the types catalog (may be null)
     */
    private String typeCatalog;
    /**
     * the types schema (may be null)
     */
    private String typeSchema;
    /**
     * type name (may be null)
     */
    private String typeName;
    /**
     * name of the designated "identifier" column of a typed table (may be null)
     */
    private String selfReferencingColName;
    /**
     * specifies how values in SELF_REFERENCING_COL_NAME are created. Values are "SYSTEM", "USER", "DERIVED". (may be null)
     */
    private String refGeneration;

    private List<DBColumnProperty> DBColumnPropertyList;


}
